#include <iostream>

int GetSize(int data[])
{
    return sizeof(data);
}

int main(int argc, char * argv[])
{
    int data[] = {1, 2, 3, 4, 5};
    int size1 = sizeof(data);

    int * data2 = data;
    int size2 = sizeof(data2);

    int size3 = GetSize(data);

    std::cout << size1 <<" " << size2 << " " <<size3 << std::endl;
}
